package com.lovesher.payment.service.plugin.alipay;

/* *
 *类名：AlipayConfig
 *功能：基础配置类
 *详细：设置帐户有关信息及返回路径
 *版本：1.0
 *日期：2016-06-06
 *说明：
 *以下代码只是为了方便商户测试而提供的样例代码，商户可以根据自己网站的需要，按照技术文档编写,并非一定要使用该代码。
 *该代码仅供学习和研究支付宝接口使用，只是提供一个参考。
 */

public class AlipayConfig {
	
//↓↓↓↓↓↓↓↓↓↓请在这里配置您的基本信息↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

	//合作身份者ID，签约账号，以2088开头由16位纯数字组成的字符串，查看地址：https://openhome.alipay.com/platform/keyManage.htm?keyType=partner
	public static String PARTNER = "2017062707581092";

	//商户的私钥,需要PKCS8格式，RSA公私钥生成：https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.nBDxfy&treeId=58&articleId=103242&docType=1
	public static String PRIVATE_KEY = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCJFZGIH35lQBfrMH68kDWs97xUqKvaBySYHmBy/Xnfj0XUPVHvR9wxd+6at8eD6oQXkQ/dnRx7Nhz98J34lNMOCuTeA3s9NTGhsrJVzU2xtbg6xt1mN2mYchGvaUFVXJ50GGdug2kiwhJSZbBJuqm7fZK6XuPlyP8B4haQj3mkrb6u5tfGZ0QIF8huGyXvlEGumSs4MX9+YSk6sDFdbViAWYHdz2LNOeKPYMLZamSHsXlmbbEkexNodics2iqNL690P9XnXcaHOVdshyCwX32uGpaSrzpOFof10H3wnXWzc5B5Q+8ph7szrEB+wJEM22wNkYYXaLIu9bkC8rvMwnAzAgMBAAECggEALEKygmjovng7QMyfnvJQ4k/6lrr/AZ5cymDEc1w0BWKVATnrQn7JMY+vknTUDluh2poTrVIU6BNIuRT/bEtg+Z+61ZP6LoEGTVcNDXcEJuStXwzmXyJ1DauG2kP5vD3zSzi17JCxWW+fysraaHPEaazZuyL4IjELZOhCsNoiRHD3U267TFo1NKrhl1wCV0fy52gE+FpqpAABhHPij0075bO3RDcy5gN90wb+BegV/X53dtFa44BHWIOFd05qMcl8cB3h1aUsim5icjIU8hKDImFrhAnJ2R/ScT2A8I9eZHhBHIVu5ZUYc9tvqPbmRJ7k+7h9HlSJyS4lZTn29M7XwQKBgQD01gYXM9lHMVxaTuEcqyLzlySGRDyaz/JWcx627ATCqnBqO/2+aa+R82/YAxQC6+mEZFKQyZWkWzPWr4rlIPI2bcUzpPOtOXpnZTnJfRV9IaTDV/T5wb0FGgADWFeswDtPo0ZCxpP/YExxmpWK6P7oE5SmCZ9+5uMXrwxOTd0oZQKBgQCPVcGBbjFw5jeICJuTiQlUfMFwlkZZ6KqSEoMqdXnfET7I8hLKRBqsejN+YJI+sqpgkh08K7kSOVvj9S5YfL7+kjXkUmVtOObBLUjNU4aHBcZ5P7I+k8gxD7FJjCuqUbMavbcTIx8eJi0ldjx0bxlHKbvr4Ea7GbaBvAzNIq9QtwKBgQDxdXWyQk8heBvFcI9wD5M7uq6pv/gpEbXE7mm3KxMSzLZq/tkjheVBwlxmI7sDmpfFGo+W/UeYPN3l91+60wAtD5rxcNdk2g/OkrUn8jVUH+73O/J8skXxFxA2PFTTKQ4VX0f2qRLiQ52AWFztDxX92Pm7ujfTFm+WNuui+gWHRQKBgENHc373ZEmkJii6MZx81F5N+NaKExecuIO8IMlLPxtPkvLrfZpngUW4TndhiQPZBVQzAXn+4+4D8nf72/c5BsWjh5xWeLld3iKKyQNn01uJgHHlThtFbtBol0T4gH5/vtwsdMSM1cxnCwXsi8/zXiAjHMxJB6pHFX2r8S5Qu43dAoGBAIod0iuxoGDUeHJC4SLgo8wIWJnk6m1/LYXwp9R29QRHwDc6VwF8t9GacmjmfRziP7/9YYNkRn4Kb8AC3M/huPkmyEB2K7u2aH0/SucnUnD1weZ1L+vL0GJFCV3/+usBP40mdRSeKR++mPxPQmOjYT5gjs+tdA5RxLgjAHPY9yoV";
	
	//支付宝的公钥，查看地址：https://openhome.alipay.com/platform/keyManage.htm?keyType=partner
	public static String ALIPAY_PUBLIC_KEY  = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAm0mJ/H2g1hjxYaOrmOKeZn4Drz1gt+ro/DD034PEf+FpHEH3Fqrz9IuOxeLbTHfAnjMhI/j143L4bJs5eEDjPZYhPLVdc3+B6zLT0mtigPmG0gii17J+NkIO7ebZkiF8XUrYCIAM0vlcsCwZLw37iBkPTbr488SujvWUqgz7e8lb9peDeHcIfY8ARzSg41EOyd2SsNOlGS9nwTBKZBcY9/gD8LkS9ZLZU7FhLVy75kH1Jg00yzrQs1sgqOx5nWv8cklexEETo6+Z6I3NZD7dBH6nH24VF0VZD0tLoZ02KSG38FvWYoxkooBEIISosYGiKxGErUuHdiX+R+vYPAS1mQIDAQAB";
	
	// 签名方式
	public static String SIGN_TYPE = "RSA2";	

	// 接收通知的接口名
	public static String SERVICE = "mobile.securitypay.pay";
	
	// 字符编码格式 目前支持 gbk 或 utf-8
	public static String INPUT_CHARSET = "UTF-8";
	
	//格式
	public static String FORMAT = "JSON";
	
	//接口请求地址
	public static String URL="https://openapi.alipay.com/gateway.do";
	
//↑↑↑↑↑↑↑↑↑↑请在这里配置您的基本信息↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
}

